package com.neo.base.functionProgram

object WhileTest {
  def main(args: Array[String]): Unit = {
    var i = 0;
    while (i < args.length){
      println(args.apply(i))
      i+=1
    }

    main1()
  }

  def main1() {
    val a = "Hello world"
    a.foreach(println)
  }
}
